Name Parser
Quick Start C#

Parse Name           

NameParserLogic parser = new NameParserLogic(); //Trial Mode

//NameParserLogic parser = new NameParserLogic("place user name here", "place license key here"); //License Mode

 

NameParts parts = parser.ParseName("Mr. John Albert Jones Jr.", NameOrder.AutoDetect);

Console.WriteLine(parts.Honorific);

Console.WriteLine(parts.FirstName);

Console.WriteLine(parts.MiddleName);

Console.WriteLine(parts.LastName);

Console.WriteLine(parts.Suffix);

Console.WriteLine(parts.IsMale);

 

Match Name

NameParserLogic parser = new NameParserLogic(); //Trial Mode

NameParserLogic parser = new NameParserLogic(); //Trial Mode

//NameParserLogic parser = new NameParserLogic("place user name here", "place license key here"); //License Mode

 

NameParts parts1 = new NameParts

{

FirstName = "Mike"

};

NameParts parts2 = new NameParts

{

FirstName = "Michael"

};

 

//This will be true since Michael is a root match for Mike

Console.WriteLine(parser.NameMatch(parts1,parts2));